Recognition of objects